package xyz.xiaoshengfu.xrpc.config;

import java.io.Serializable;

/**
 * <p>Title: ApplicationConfig</p>
 * <p>Description: xRPC应用配置信息</p>
 * @author xiaoshengfu(2439323118@qq.com)
 * @date 2020年3月20日
 */
public class ApplicationConfig implements Serializable {

	private static final long serialVersionUID = 1L;

	private String name;

	private String hostAddress;

	public ApplicationConfig() {
		super();
	}

	public ApplicationConfig(String name) {
		super();
		this.name = name;
	}

	public ApplicationConfig(String name, String hostAddress) {
		super();
		this.name = name;
		this.hostAddress = hostAddress;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getHostAddress() {
		return hostAddress;
	}

	public void setHostAddress(String hostAddress) {
		this.hostAddress = hostAddress;
	}

	@Override
	public String toString() {
		return "ApplicationConfig [name=" + name + ", hostAddress=" + hostAddress + "]";
	}

}
